package com.augurit.gzcgwsp.ywcmn.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


/**
 * 统一的证书编号实体
 * @author Administrator
 *
 */
@Entity
@Table(name = "YW_RQ_ZSBH")
public class CertificateNo implements java.io.Serializable {
    @Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_YW_RQ_ZSBH", sequenceName="SEQ_YW_RQ_ZSBH", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_YW_RQ_ZSBH")
    private Long id;
    private Long ajid;//案件id
    private int zstype;//证书类型 1：燃气经营行政许可证2：燃气供应设施许可标识3：建筑企业资质证书
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getAjid() {
        return ajid;
    }
    public void setAjid(Long ajid) {
        this.ajid = ajid;
    }
    public int getZstype() {
        return zstype;
    }
    public void setZstype(int zstype) {
        this.zstype = zstype;
    }
    
}
